package com.service.impl;

import java.util.List;
import java.util.Map;

import com.bean.Evalinfo;
import com.bean.PageBean;
import com.dao.EvalInfoDao;
import com.service.EvalInfoService;

public class EvalInfoServiceImpl implements EvalInfoService {

	private EvalInfoDao evalInfoDao;
	
	public void setEvalInfoDao(EvalInfoDao evalInfoDao) {
		this.evalInfoDao = evalInfoDao;
	}

	@Override
	public PageBean<Evalinfo> findPageByCondition(Map<String, Object> map) {
		return evalInfoDao.findPageByCondition(map);
	}

	@Override
	public List<Evalinfo> findById(Map<String, Object> map) {
		return evalInfoDao.findById(map);
	}

	@Override
	public boolean delete(Evalinfo evalInfo) {
		return evalInfoDao.delete(evalInfo);
	}

}
